home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3290 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ix.netcom.com!netnews
  2. From: mlwillia@ix.netcom.com (Michael Williams)
  3. Newsgroups: comp.lang.c
  4. Subject: ???unresolved external???
  5. Date: Sat, 27 Jan 1996 17:16:54 GMT
  6. Organization: Netcom
  7. Message-ID: <4edmnn$m53@reader2.ix.netcom.com>
  8. NNTP-Posting-Host: ix-gra3-09.ix.netcom.com
  9. X-NETCOM-Date: Sat Jan 27  9:17:49 AM PST 1996
  10. X-Newsreader: Forte Agent .99b.112
  11.  
  12. Although this question may appear to be easy, I dont think it is. ( At
  13. least it is not becuase I haven't tried to link in the appropriate
  14. library.)
  15.  
  16. Here's my problem:
  17.  
  18. I'm trying to write a small Windows DLL using some functions in a
  19. library I received from a vendor.  Apparently this library has only
  20. been used for DOS programs and was written back in 1992 sometime.
  21. When I try to compile the DLL (using Microsoft Visual C++ v1.52), I
  22. keep getting an "unresolved external' for the function in the library.
  23.  
  24. I'm using the exact syntax out of the header file.  I can even get a
  25. DOS executable to compile using the library.  My questions are:
  26.  
  27. 1.  Is it possilble to create a DOS-only Library?
  28.  
  29. 2.  Assuming the above IS NOT true, are there certain flags I need to
  30. set in order to access this funciton?  (I've tried changing the
  31. calling convention to PASCAL - no luck.)
  32.  
  33. 3.  Is there a program somewhere that will let me look at how a
  34. function is defined in a LIB file?
  35.  
  36. Thanks for any help!!!!
  37.  
  38. Mike Williams
  39. mlwillia@ix.netcom.com
  40.  
  41.